<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<style>
  html, body, iframe {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
</style>
<body>
  <iframe id="iframe" src="https://m.baidu.com" frameborder="0"></iframe>
</body>
<script>
  const url = location.href.split('#')[1]
  if (url) {
    const iframe = document.getElementById('iframe')
    iframe.src = url
  }
</script>
</html>